Skip to content

Add the jj-core (alternative to #9766) - #9933

Merged
martinvonz merged 5 commits into
mainfrom
mz/tnmnsuqstvxz
Aug 18, 2026
Merged

Add the jj-core (alternative to #9766)#9933
martinvonz merged 5 commits into
mainfrom
mz/tnmnsuqstvxz

Conversation

@martinvonz

Copy link
Copy Markdown
Contributor

@PhilipMetzger: I think this is a simple start. I hope it looks okay.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

@martinvonz
martinvonz requested a review from a team as a code owner August 6, 2026 22:27

@yuja yuja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@PhilipMetzger ?

Comment thread Cargo.toml
@martinvonz
martinvonz added this pull request to the merge queue Aug 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 18, 2026
@martinvonz
martinvonz added this pull request to the merge queue Aug 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 18, 2026
This will be common base for building upon `jj` if you only want the
internals which make the other systems work, like the `Backend` or
`WorkingCopy` trait. It should be of utmost importance to make the
crate as low dependency as possible so it'ss not in the critical path
during compilation.

Part of #6284
@martinvonz
martinvonz added this pull request to the merge queue Aug 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 18, 2026
These modules are general-purpose algorithms with no dependencies on
the rest of `jj-lib`, so they can move to the new low-dependency
`jj-core` crate. `jj-lib` re-exports them, so its API is unchanged.

Part of #6284
`jj-lib` re-exports it, so its API is unchanged. The `hashbrown`
dependency moves along with it since `diff` was its only user in
`jj-lib`.

Part of #6284
`jj-lib` re-exports it, so its API is unchanged.

Part of #6284
`jj-lib` re-exports it, so its API is unchanged. The tests need the
`TestResult` alias that `jj-lib` has in its crate-level `tests`
module, so `jj-core` gets a copy of that module.

Part of #6284
@martinvonz
martinvonz enabled auto-merge August 18, 2026 03:43
@martinvonz
martinvonz added this pull request to the merge queue Aug 18, 2026
Merged via the queue into main with commit 93ba64d Aug 18, 2026
34 checks passed
@martinvonz
martinvonz deleted the mz/tnmnsuqstvxz branch August 18, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants